<!--conf
<sample in_favorites="true">
              <product version="1.6" edition="pro"/>
                     <modifications>
                            <modified date="080512"/>
                     </modifications>
<sampledescription><![CDATA[Since v.1.6 dhtmlxTreeGrid supports paginal output. This is common way for solving performance problems with big datasets. But try Smart Rendering also.]]></sampledescription></sample>
 --> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>Paging in dhtmlxTreeGrid</title>	
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
	<script src="../../../codebase/dhtmlx.js"></script>
</head>

<script>
var mygrid;
	function doOnLoad(){
		mygrid = new dhtmlXGridObject('gridbox');
		mygrid.setImagePath("../../../codebase/imgs/");
		mygrid.setHeader("Column A,Column B,Column C");
		mygrid.setInitWidths("*,100,80")
		mygrid.setColAlign("left,left,left")
		mygrid.setColTypes("tree,ed,txt");
		mygrid.setColSorting("str,str,str")
		mygrid.enablePaging(true,10,5,"recinfoArea");
		mygrid.setPagingSkin("bricks");
		mygrid.init();
		mygrid.setSkin("dhx_skyblue");
	   	mygrid.loadXML("php/tree_grid.php");
	}
</script>
<body onload="doOnLoad();">
	
	<h1>Paging in dhtmlxTreeGrid</h1>
	<table width="500" cellpadding="0" cellspacing="0">
		<tr>
			<td>
				<div id="gridbox" width="100%" height="200px" style="background-color:white;overflow:hidden"></div>
			</td>
		</tr>
		<tr>
			<td id="recinfoArea"></td>
		</tr>
	</table>
	 
           



</body>
</html>
